package com.hgw.Demo06_MementoPattern.Exercises21_7_6;

/**
 * Data time:2021/12/18 22:12
 * StudentID:2019112118
 * Author:hgw
 * Description: 场景备忘录：备忘录
 */
public class SceneMemento {
    private String scene;
    private int lifeValue;

    public SceneMemento(String scene, int lifeValue) {
        this.scene = scene;
        this.lifeValue = lifeValue;
    }

    public String getScene() {
        return this.scene;
    }

    public void setScene(String scene) {
        this.scene = scene;
    }

    public int getLifeValue() {
        return this.lifeValue;
    }

    public void setLifeValue(int lifeValue) {
        this.lifeValue = lifeValue;
    }
}
